#include "../include/MutexLockGuard.h"
#include "../include/MutexLock.h"

namespace myNameSpace {
MutexLockGuard::MutexLockGuard(MutexLock &mutex): _mutex(mutex) {
    _mutex.lock();
}

MutexLockGuard::~MutexLockGuard() {
    _mutex.unlock();
}
} // end of namespace myNameSpace
